package whf.framework.meta.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.meta.dao.ObjectPropertyDAO;
import whf.framework.meta.entity.ObjectProperty;
import whf.framework.util.BeanFactory;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-05-31
 */
public class ObjectPropertyServiceImp extends whf.framework.service.ServiceImp<ObjectProperty> implements ObjectPropertyService {

	private ObjectPropertyDAO objectPropertyDAO;

	public void setObjectPropertyDAO(ObjectPropertyDAO objectPropertyDAO) {
		this.objectPropertyDAO = objectPropertyDAO;
	}

	public static ObjectPropertyService getObjectPropertyService() throws ServiceNotFoundException {
		return (ObjectPropertyService)BeanFactory.getService(ObjectPropertyServiceImp.class) ;
	}

	/* (non-Javadoc)
	 * @see whf.framework.service.ServiceImp#getBoClass()
	 */
	@Override
	public Class getEntityClass() {
		return ObjectProperty.class;
	}

} 